package com.knowif.enumInfo;

import java.util.HashMap;
import java.util.Map;

public enum EnterpriseTypeEnum {
	
	FINANNCIAL(1,"金融"),
	CONSULT(2,"咨询"),
	INTERNET(3,"互联网"),
	GRE(4,"GRE"),
	AD_4A(5,"4A广告"),
	FMCG(6,"快速消费品"),
	REIT(7,"房地产"),
	MEDICAL_DEVICES(8,"医疗器械"),
	SYNTHSIZE(9,"综合");
	 
	private int id;
	private String name;
	private EnterpriseTypeEnum(int id, String name) {
		this.id = id;
		this.name = name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	public static Map<Integer,String> getEnterpriseTypeMap(){
		Map<Integer,String> enterpriseType = new HashMap<Integer,String>();
		for(EnterpriseTypeEnum enterpriseTypeEnum : EnterpriseTypeEnum.values()){
			enterpriseType.put(enterpriseTypeEnum.getId(), enterpriseTypeEnum.getName());
		}
		return enterpriseType;
	}
}
